s = '1234567'

print s[::-1]
print s[1:1]
print s[1:2]
print s[1:3]
print s[1:-1]
print s[::-1]
print s[1:-0]
print s[0:20]
print s[0::2]
print s[1::2]
print s[1:2]
